<!--<?php
print <<<EOT
-->


        <table width="95%" border="0" cellspacing="1" cellpadding="1">
          <tr><td width=3%>&nbsp; </td><td width="50%">
		  
<form name="forma1" method="post">

        <table border="0" cellspacing="1" cellpadding="1">
          <tr> 
            <td><input type="hidden" value="test"  class="text" name="Code" size="20" value="Enter Code ..."
			 onFocus="Code.value=''" ></td>
            <td>
			<input name="image" type="image"  onClick="return submitForm('forma1','a_account_add.php',1)" src="../images/admin/bt_add.gif">
			</td>

			<td><img src="../images/admin/shim.gif" width=30></td>

          </tr>
        </table>

</form>


</td><td align="right">

<form name="form2" method="get" action="a_account.php">

        <table border="0" cellspacing="1" cellpadding="1">
          <tr>
            <td>
<input type="text" class="text" name="search_key" size="20" value="Enter Username Or Email ..." onFocus="search_key.value=''">		             <input type="hidden" name="action" value="search"></td>
			<td>
<input name="image" type="image" src="../images/admin/bt_search.gif">
			</td>
			<td>
<input name="image" type="image" src="../images/admin/bt_listall.gif" onClick="Redirect('a_account.php',1);return false;">
			</td>
			<td>
			</td>
          </tr>
        </table>
</form>

			</td>
          </tr>
        </table>
		
		

{$page_show}
  
<table width="95%" border="0" align="center">
  <tr> 
    <td align="right">&nbsp; </td>
  </tr>
  <tr> 
    <td><p><br>
      </p>      <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tb">
        <tr class="tbheader"> 
		  <td width="10%">Id</td>
            <td width="50%">Username</td>
			<td width="20%">Status</td>
			<td width="20%"></td>
        </tr>
		
		
<!--
EOT;
for($i=0;$i<count($out_ary);$i++){
$out_ary[$i]['date']=date('Y-m-d',$out_ary[$i]['date']);
print <<<EOT
--> 
        <tr class="tbcontent1"> 
          <td>{$out_ary[$i]['id']}</td>
          <td>{$out_ary[$i]['username']}</td>
		  <td>{$account_type_ary[$out_ary[$i]['type']]}</td>          
		  <td align="center">&nbsp; &nbsp; 
		  <a href="a_account_edit.php?cid={$out_ary[$i]['id']}"><img src="../images/admin/bt_edit.gif" border="0"></a>
		  &nbsp; 
		  <a href="a_account.php?action=del&cid={$out_ary[$i]['id']}" onclick="return confirm('Delete {$out_ary[$i]['username']}?')"><img src="../images/admin/bt_delete.gif" border="0"></a>
		  &nbsp; 
		  <a href="a_account_enq.php?cid={$out_ary[$i]['id']}"><img src="../images/admin/bt_enquiry.gif" border="0"></a>
		  </td>
        </tr>
<!--
EOT;
}
print <<<EOT
--> 
      </table>


{$page_show}


<!--
EOT;
?>-->